<template>
  <div class="record1">
    <span class="name">{{ name }}</span>
    <span class="desc">{{ desc }}</span>
    <span class="date">{{ date }}</span>
  </div>
</template>

<script>
export default {
  name: "Record1",
  props: {
    name: String,
    desc: String,
    date: String
  }
};
</script>

<style scoped lang="less">
.record1 {
  width: 100%;
  border-top: 1px solid #cacaca;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;

  &:last-child {
    border-bottom: 1px solid #cacaca;
  }

  .name {
    width: 60px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
  }

  .desc {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    padding: 0 8px;
  }

  .date {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
  }
}
</style>
